package cn.com.cym.gamezao.service.demo;

import cn.com.cym.gamezao.base.BaseService;
import cn.com.cym.gamezao.entity.demo.Child;

import java.util.List;

public interface ChildService extends BaseService<Child> {

    Child getByCode(String code);

    List<Child> getByParentId(Long parentId);

    Child updateByCode(Child child,String code);
}
